﻿/********************************************************************************
 * CoTime. All rights reserved.
 * Author: 刘冰
 * Email : ice6@live.cn
 * Description:
 *     Event arguments used by Repository's ItemAdded event.
*********************************************************************************/
using System;
using CoTime.Model;

namespace CoTime.DataAccess
{
    /// <summary>
    /// Event arguments used by Repository's ItemAdded event.
    /// </summary>
    public class ItemAddedEventArgs<T> : EventArgs
    {
        public ItemAddedEventArgs(T item)
        {
            this.NewItem = item;
        }

        public T NewItem { get; private set; }
    }
}
